//
//  InputViewController.h
//  xingfugangwan
//
//  Created by rainday on 15/1/1.
//  Copyright (c) 2015年 rainday. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, InputViewControllerTextFieldStyle) {
    InputViewControllerTextFieldNormal=0,
    InputViewControllerTextFieldDate,
    InputViewControllerTextFieldSaleMan,
    InputViewControllerTextFieldHotel,
    InputViewControllerTextFieldPayStyle,
    InputViewControllerTextFieldPrice
};

@class InputViewController;
@protocol InPutViewProtocol <NSObject>

@required
- (void)inputViewController:(InputViewController *)inputViewController didPopWithString:(NSString *)string andKey:(NSString *)key;

@end

@interface InputViewController : UIViewController
@property (nonatomic ,weak) IBOutlet UITextField *textField;
@property (nonatomic ,strong) id<InPutViewProtocol>delegate;


- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil  textFieldText:(NSString *)textFieldText textFieldPlaceholder:(NSString *)textFieldPlaceholder textFieldStyle:(InputViewControllerTextFieldStyle)textFieldStyle;

@end
